package com.indusfo.spc.service;

import com.indusfo.spc.pojo.RuleList;
import com.indusfo.spc.vo.JSONObject;

import java.util.List;

/**
 * @author chenm
 * @create 2019-07-23 14:20
 */
public interface RuleListService {

    /**
     * 新增
     * @param ruleList
     * @return
     */
    JSONObject insertRuleList(RuleList ruleList);

    /**
     * 删除
     * @param ids
     * @param dataState
     * @return
     */
    JSONObject delRuleList(Integer[] ids, Integer dataState);

    /**
     * 修改
     */
    JSONObject updateRuleList(RuleList ruleList);

    /**
     * 查询
     */
    JSONObject queryRuleList(RuleList ruleList);

    String checkNoRepeatExcel(RuleList ruleList);

    JSONObject updateListRuleList(List<RuleList> ruleListList);
}
